package com.wteam.dragon.shop.pojo.vo;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author 陈晓辉
 * @Date 2021/3/24 10:00
 */
@Getter
@Setter
public class FlashPromotionVo implements Serializable {
    private Long id;

    @NotNull(message = "标题不能为空")
    private String title;

    @NotNull(message = "开始时间不能为空")
    private Date startDate;

    @NotNull(message = "结束时间不能为空")
    private Date endDate;

    private Integer status;
}
